<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>

<!DOCTYPE html>
<html>
	<head>
		<title>编辑返款特权</title>
		<meta name="decorator" content="default"/>
		<script type="text/javascript">
			$(function() {
				//初始化表单验证
				$("#inputForm").initValidform();
			});
		</script>
	</head>
	
	<body class="mainbody">
		<form:form id="inputForm" modelAttribute="privilege" action="${ctx}/qd/privilege/save" method="post" class="form-horizontal">
			<form:hidden path="id"/>
			<!--导航栏-->
			<div class="location">
				<a href="${ctx}/qd/privilege/list" class="back"><i></i><span>返回列表页</span></a>
				<a href="${ctx}/center" class="home"><i></i><span>首页</span></a> 
				<i class="arrow"></i> 
				<a href="${ctx}/qd/privilege/form?id=${privilege.id}"><span>返款特权</span></a>
				<shiro:hasPermission name="qd:privilege:edit"><i class="arrow"></i><span>${not empty privilege.id ? '修改':'添加' }返款特权</span></shiro:hasPermission>
			</div>	
			<div class="line10"></div>
			<!--/导航栏-->
	
			<!--内容-->
			<div id="floatHead" class="content-tab-wrap">
				<div class="content-tab">
					<div class="content-tab-ul-wrap">
						<ul>
							<li><a class="selected" href="javascript:;">返款特权信息</a></li>
						</ul>
					</div>
				</div>
			</div>
	
			<div class="tab-content">
				<dl>
					<dt>主键编号</dt>
					<dd>
						<form:input path="id" htmlEscape="false" maxlength="50" class="required" cssClass="input normal" datatype="*" nullmsg="请输入主键编号" errormsg="请输入主键编号" sucmsg=" "/>
						<span class="Validform_checktip">*请输入主键编号</span>
					</dd>
				</dl>
				<dl>
					<dt>类型</dt>
					<dd>
						<form:input path="type" htmlEscape="false" maxlength="50" class="required" cssClass="input normal" datatype="*" nullmsg="请输入类型" errormsg="请输入类型" sucmsg=" "/>
						<span class="Validform_checktip">*请输入类型</span>
					</dd>
				</dl>
				<dl>
					<dt>总次数</dt>
					<dd>
						<form:input path="total" htmlEscape="false" maxlength="50" class="required" cssClass="input normal" datatype="*" nullmsg="请输入总次数" errormsg="请输入总次数" sucmsg=" "/>
						<span class="Validform_checktip">*请输入总次数</span>
					</dd>
				</dl>
				<dl>
					<dt>剩余次数</dt>
					<dd>
						<form:input path="remain" htmlEscape="false" maxlength="50" class="required" cssClass="input normal" datatype="*" nullmsg="请输入剩余次数" errormsg="请输入剩余次数" sucmsg=" "/>
						<span class="Validform_checktip">*请输入剩余次数</span>
					</dd>
				</dl>
				<dl>
					<dt>合同编号</dt>
					<dd>
						<form:input path="contractId" htmlEscape="false" maxlength="50" class="required" cssClass="input normal" datatype="*" nullmsg="请输入合同编号" errormsg="请输入合同编号" sucmsg=" "/>
						<span class="Validform_checktip">*请输入合同编号</span>
					</dd>
				</dl>
				<dl>
					<dt>学员编号</dt>
					<dd>
						<form:input path="studentId" htmlEscape="false" maxlength="50" class="required" cssClass="input normal" datatype="*" nullmsg="请输入学员编号" errormsg="请输入学员编号" sucmsg=" "/>
						<span class="Validform_checktip">*请输入学员编号</span>
					</dd>
				</dl>
				<dl>
					<dt>备注信息</dt>
					<dd>
						<form:input path="remarks" htmlEscape="false" maxlength="50" class="required" cssClass="input normal" datatype="*" nullmsg="请输入备注信息" errormsg="请输入备注信息" sucmsg=" "/>
						<span class="Validform_checktip">*请输入备注信息</span>
					</dd>
				</dl>
				<dl>
					<dt>创建者</dt>
					<dd>
						<form:input path="createBy" htmlEscape="false" maxlength="50" class="required" cssClass="input normal" datatype="*" nullmsg="请输入创建者" errormsg="请输入创建者" sucmsg=" "/>
						<span class="Validform_checktip">*请输入创建者</span>
					</dd>
				</dl>
				<dl>
					<dt>更新者</dt>
					<dd>
						<form:input path="updateBy" htmlEscape="false" maxlength="50" class="required" cssClass="input normal" datatype="*" nullmsg="请输入更新者" errormsg="请输入更新者" sucmsg=" "/>
						<span class="Validform_checktip">*请输入更新者</span>
					</dd>
				</dl>
				<dl>
					<dt>删除标记（0：正常；1：删除）</dt>
					<dd>
						<form:input path="delFlag" htmlEscape="false" maxlength="50" class="required" cssClass="input normal" datatype="*" nullmsg="请输入删除标记（0：正常；1：删除）" errormsg="请输入删除标记（0：正常；1：删除）" sucmsg=" "/>
						<span class="Validform_checktip">*请输入删除标记（0：正常；1：删除）</span>
					</dd>
				</dl>
			</div>
			<!--/内容-->
	
			<!--工具栏-->
			<div class="page-footer">
				<div class="btn-wrap">
					<input type="submit" name="btnSubmit" value="提交保存" id="btnSubmit" class="btn" /> 
					<input name="btnReturn" type="button" value="返回上一页" class="btn yellow" onclick="javascript:history.back(-1);" />
				</div>
			</div>
			<!--/工具栏-->
		</form:form>
	</body>
</html>

